package Framework;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.Vector;

import javax.swing.JLabel;


public class dlg_ButtonSet extends dlg_Ancestor implements ActionListener{
	
	Vector <btn_Ancestor> ButtonList; 
	JLabel				question;
	// Remove me!
	public dlg_ButtonSet(pnl_Ancestor caller, JLabel a_question, Vector <String> Buttons){
		super();
		btn_Ancestor tempButton;
		
		question = a_question;
		
		for (int i = 0; i < Buttons.size(); i++){
			
			tempButton = new btn_Ancestor(Buttons.elementAt(i)); 
			tempButton.setBounds(0,(i * 75) + 10,200,75);
			tempButton.addActionListener(this);
			ButtonList.add(tempButton);
			this.add(tempButton);
		}
		
	}
	
	public void actionPerformed(ActionEvent e) {
		for (int i = 0; i < ButtonList.size(); i++){
			if (ButtonList.get(i).equals(e)){
				
				
			}			
		}

	}
	
}
